import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBColor/YBColor.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBImageStyle/YBImageStyle.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBTextStyle/YBTextStyle.dart';


class YBWorkTaiZhuanShuYingYongTypePage extends StatelessWidget {
  final String titleStr;
  final String pictureStr;

  const YBWorkTaiZhuanShuYingYongTypePage({Key key, this.titleStr, this.pictureStr}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
       height: YBTextStyle.adapterSize58,
       decoration: BoxDecoration(
          borderRadius: BorderRadius.all(Radius.circular(YBTextStyle.adapterSize6)),
          color: YBColor.colorF7F7F7,
       ),
       child:Padding(
         padding: EdgeInsets.fromLTRB(YBTextStyle.adapterSize14, YBTextStyle.adapterSize11, YBTextStyle.adapterSize24, YBTextStyle.adapterSize11),
         child: Row(
           mainAxisAlignment: MainAxisAlignment.start,
           crossAxisAlignment: CrossAxisAlignment.center,
           children: [
             Container(
               width: YBTextStyle.adapterSize36,
               height: YBTextStyle.adapterSize36,
               child: SvgPicture.asset(pictureStr),
             ),
             Container(
               width: YBTextStyle.adapterSize4,
             ),
             Container(
               child: Text(titleStr,style: YBTextStyle.TextStyle30313314,),
             ),
           ],
         ),
       ),
    );
  }
}
